SNMP

What is SNMP?

Simple Network Management Protocol (SNMP) is an Internet Standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior.

SNMP exposes management data in the form of variables on the managed systems organized in a management information base (MIB), which describe the system status and configuration. These variables can then be remotely queried (and, in some circumstances, manipulated) by managing applications.

Three significant versions of SNMP have been developed and deployed. V1 is the original version of the protocol. More recent versions, V2c and V3, feature improvements in performance, flexibility, and security.


What is SNMP used for?

One of the biggest advantages of SNMP is that it is an open standard protocol. A number of standard MIBs have been defined that allow monitoring tools to obtain metrics of interest from any device, irrespective of model and vendor, that support the standard MIBs. For example, MIB-II is a standard MIB that allows network equipment to expose information about the number of network interfaces they support and the traffic in and out of each interface (besides a number of other statistics). A monitoring system can poll any device that supports MIB-II, auto discover the interfaces on the device, and monitor bandwidth usage on each interface.

There are a number of standard SNMP MIBs – for example, the Host Resources MIB for monitoring resource usage on any system and the Fiber Channel MIB to monitor any fiber channel network switch. Vendors provide enterprise specific MIBs that expose additional details about their devices. For example, to monitor the CPU usage of a Cisco router, a monitoring tool must support the Cisco proprietary CPU MIB. Likewise, Cisco routers support a NetFlow MIB. A monitoring tool that supports this MIB can get information about the top sources and destinations that are communicating through the router.

SNMP is mainly used for:

  • Auto-discovering network equipment – Vendor specific MIBs are used to identify the type of each device on the network. Network topologies and interconnections can also be monitored using SNMP.
  • Polling network equipment to collect different types of metrics – Changes to network device status, workload details, and performance metrics (queue lengths, packets dropped, buffer overflows, etc.) are detected by monitoring systems when they compare statistics reported to them by each network device over time.
  • Network devices also emit SNMP traps when abnormalities are detected – For example, when a printer is low on paper, it will send a trap to its monitoring tool, informing it that action has to be taken. Likewise, failure of a network interface may also cause a router to send a trap. By listening for and processing such traps, monitoring tools can detect failure conditions that administrators may need to be informed about.

How does SNMP work?

SNMP works with a network management system to relay configuration changes and status information to IT administrators. The NMS provides administrators with a centralized interface that they can use to issue batch commands and view automated alerts.

SNMP uses a mix of pull and push communications between the NMS and network devices to collect and disseminate information. In most instances, SNMP functions within a synchronous model. The SNMP manager initiates device communication, and the agent software responds.


Components of SNMP

An SNMP-managed network includes four core components, which are as follows:

  • SNMP Agent: The agent software runs on the service or hardware being monitored. It shares data about performance metrics with the SNMP manager.
  • SNMP-managed Network Nodes: Nodes are services and network devices on which the agent runs.
  • SNMP Manager: The NMS platform functions as the SNMP manager.
  • Management Information Base: The MIB itemizes and describes all objects on each device that can be controlled or queried using SNMP.

Each component plays a critical role in the collection and transmission of information from nodes to the NMS. That said, the NMS is foundational to the success of your SNMP monitoring strategy. When choosing an NMS, ensure that your platform can accommodate the number and type of hardware included in your network.


What is SNMP monitoring?

SNMP monitoring provides your organization with a standardized method for gathering information about networking equipment. Your IT personnel can use these insights to ensure your network is running at peak efficiency and performance.